import { Module } from '@nestjs/common';
// import { UserController } from './user.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { MenuController } from './menu.controller';
import { Menu } from './menu.entity';
import { MenuService } from './menu.service';
@Module({
  // 导入 TypeOrm 模块，用于实体类型和数据库交互
  imports: [TypeOrmModule.forFeature([Menu])],
  providers: [MenuService],
  controllers:[MenuController],
  // exports: [MenuService],
})
export class MenuModule {}
